package com.woniu.microworkorderserver.feign;

import com.woniu.microcommonsserver.entity.AssetsParameterEntity;
import com.woniu.microcommonsserver.param.PageResult;
import com.woniu.microcommonsserver.param.ResponseMsg;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

@FeignClient(name = "micro-asset-server",fallbackFactory = MicroAssetServerFallbackFactory.class)
public interface AssetServerFeign {

    @GetMapping(value = "/devsystem/selectAll",produces = MediaType.APPLICATION_JSON_VALUE)
    ResponseMsg findAssetAll();
}
